﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Company.master" AutoEventWireup="true"
    CodeFile="Company_InterViewRecord.aspx.cs" Inherits="Company_InterViewRecord" %>

<%@ Import Namespace="Avatar.Model" %>
<%@ Import Namespace="Avatar.Common" %>
<%@ Import Namespace="Avatar.BLL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cph_Main" runat="Server">
    <div class="Dialog">
        <div class="Title">
            面试通知记录</div>
        <div class="Content">
            <asp:GridView ID="gv_ResumeList" runat="server" AutoGenerateColumns="False" GridLines="Vertical"
                CellPadding="4" ForeColor="#333333" EmptyDataText="您目前没有发出过任何面试通知">
                <RowStyle BackColor="#EFF3FB" />
                <Columns>
                    <asp:TemplateField HeaderText="应聘职位">
                        <ItemTemplate>
                            <a href='job.aspx?ID=<%# Eval("JobID") %>' target="_blank">
                                <%# ((Job)Eval("job")).Title %>
                            </a>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="姓名">
                        <ItemTemplate>
                            <%#((Resume)Eval("Resume")).PersonalBasicInfo.Name %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="最高学历">
                        <ItemTemplate>
                            <%#((Resume)Eval("Resume")).PersonalBasicInfo.Diploma.Name %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="所在城市">
                        <ItemTemplate>
                            <%# ((Resume)Eval("Resume")).PersonalBasicInfo.Area.Name %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="工作经验">
                        <ItemTemplate>
                            <%# ((Resume)Eval("Resume")).PersonalBasicInfo.WorkingAge.Age %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="期望年薪">
                        <ItemTemplate>
                            <%# ((Resume)Eval("Resume")).PersonalBasicInfo.SalaryYear.Salary%>￥/年
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="收藏时间">
                        <ItemTemplate>
                            <%# Helper.DateTimeStringFormat(Convert.ToDateTime(Eval("Date").ToString())) %>
                        </ItemTemplate>
                    </asp:TemplateField>
                    <asp:TemplateField HeaderText="操作">
                        <ItemTemplate>
                            <div style="text-align: center;">
                                <div id="Div1" visible="<%# _serviceID==1?true:false %>" runat="server">
                                    [<a href="#" onclick="{if(confirm('普通企业服务用户 不能查看求职简历')){return true;}return false;}">查看</a>]</div>
                               <div id="Div2" visible="<%# _serviceID==2?true:false %>" runat="server"> [<a href="./resumeview.aspx?user=<%# Eval("ResumeID") %>" target="_blank" onclick="<%# JobConfigManager.GetJobConfig()!=null?"{if(confirm('查看此条信息需付费"+JobConfigManager.GetJobConfig().Price.ToString()+"元')){return true;}return false;}":"alert('系统设置错误，请与客服联系。')" %>">查看</a>]</div>
                                <div id="Div3" visible="<%# _serviceID==3?true:false %>" runat="server">[<a href='ResumeView.aspx?User=<%#Eval("ResumeID") %>' target="_blank">查看</a>]</div>
                            </div>
                        </ItemTemplate>
                    </asp:TemplateField>
                </Columns>
                <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                <HeaderStyle HorizontalAlign="Left" BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                <EditRowStyle BackColor="#2461BF" />
                <AlternatingRowStyle BackColor="White" />
            </asp:GridView>
        </div>
    </div>
</asp:Content>
